package nuike;

/**
 * Created with IntelliJ IDEA.
 * ClassName: StaticStuff
 * Package: nuike
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-11-20
 * Time: 18:12
 */

//考察static关键字
public class StaticStuff {

    static int x = 10;

    static {
        x += 5;
    }

    public static void main(String[] args) {
        System.out.println("x=" + StaticStuff.x);
    }

    static {
        x /= 3;
    }


}
